﻿@model ApCMS.Models.NewsModels
@{
    ViewBag.Title = "新闻动态";
}
<div id="heroBanner">
    <a href="#">
        <img alt="" src="@Url.Content("~/Themes/ymdz/Content/images/banner.jpg")" /></a>
</div>
@if (Model != null)
{
    if (Model.Article != null)
    {
    <div class="boxContainer grid_9 alpha omega">
        <h2>
            新闻动态
        </h2>
        <div class="grid_9 alpha">
            <div class="box above">
                <div class="postList">
                    <div class="post last">
                        <h3>
                            @(Model.Article.Title)</h3>
                        <p>
                            <span>发布者：@(Model.Article.Author)
                                @(string.Format("{0:yyyy-MM-dd}", Model.Article.ModifyTime))</span></p>
                        <p>
                            @Html.Raw(Model.Article.Content ?? "暂无信息......")</p>
                    </div>
                </div>
            </div>
        </div>
        <div class="clear">
        </div>
    </div>
    }
}